 package com.bbcare.comm;
 
 public class ResultModel<T>
 {
   private boolean success;
   private T data;
   
   public ResultModel(T data)
   {
     this.success = true;
     this.data = data;
   }
   
   public boolean isSuccess() {
    return this.success;
   }
   
   public T getData() {
     return (T)this.data;
   }
 }

